package com.ruoyi.net.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel;

import java.util.ArrayList;
import java.util.List;

public class NetGroup  extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 网元显示状态 */
    // 0 网元离线 灰色；1：告警 红；2：正常 绿色；
    private String displayStatus;

    /** id */
    private String id;

    /** 父ID */
    @Excel(name = "父ID")
    private String parentId;

    /** 分组名称 */
    @Excel(name = "分组名称")
    private String groupName;

    /** 图标样式 */
    @Excel(name = "图标样式")
    private String groupIcon;

    /** 分组层级 */
    @Excel(name = "分组层级")
    private Long groupLevel;

    /** 分组类型（逻辑域、网元、盘、端口） */
    @Excel(name = "分组类型", readConverterExp = "逻=辑域、网元、盘、端口")
    private String groupType;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 部门状态（0正常 1停用） */
    @Excel(name = "部门状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 坐标x */
    @Excel(name = "坐标x")
    private Long x;

    /** 坐标y */
    @Excel(name = "坐标y")
    private Long y;


    private List<NetGroup> children = new ArrayList<NetGroup>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupIcon() {
        return groupIcon;
    }

    public void setGroupIcon(String groupIcon) {
        this.groupIcon = groupIcon;
    }

    public String getGroupType() {
        return groupType;
    }

    public void setGroupType(String groupType) {
        this.groupType = groupType;
    }

    public Long getGroupLevel() {
        return groupLevel;
    }

    public void setGroupLevel(Long groupLevel) {
        this.groupLevel = groupLevel;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public List<NetGroup> getChildren() {
        return children;
    }

    public void setChildren(List<NetGroup> children) {
        this.children = children;
    }

    public Long getX() {
        return x;
    }

    public void setX(Long x) {
        this.x = x;
    }

    public Long getY() {
        return y;
    }

    public void setY(Long y) {
        this.y = y;
    }

    public void setDisplayStatus(String displayStatus) {
        this.displayStatus = displayStatus;
    }

    public String getDisplayStatus() {
        return displayStatus;
    }
}